
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>6.程序执行原理（科普） · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="7.变量的基本使用.html" />
    
    
    <link rel="prev" href="5.算数运算符.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">笔记</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../阶段一笔记/1.操作系统——特殊的软件.html">
            
                <a href="../阶段一笔记/1.操作系统——特殊的软件.html">
            
                    
                    1.操作系统——特殊的软件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../阶段一笔记/2.命令.html">
            
                <a href="../阶段一笔记/2.命令.html">
            
                    
                    2.命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../阶段一笔记/3.SSH客户端的简单使用.html">
            
                <a href="../阶段一笔记/3.SSH客户端的简单使用.html">
            
                    
                    3.SSH客户端的简单使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../阶段一笔记/4.用户权限相关命令.html">
            
                <a href="../阶段一笔记/4.用户权限相关命令.html">
            
                    
                    4.用户权限相关命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../阶段一笔记/5.系统信息相关命令.html">
            
                <a href="../阶段一笔记/5.系统信息相关命令.html">
            
                    
                    5.系统信息相关命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../阶段一笔记/6.vi命令.html">
            
                <a href="../阶段一笔记/6.vi命令.html">
            
                    
                    6.vi命令
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">软件安装及其使用</li>
        
        
    

    
        
        <li class="header">pycharm</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../阶段二笔记/pycharm安装及配置.html">
            
                <a href="../阶段二笔记/pycharm安装及配置.html">
            
                    
                    pycharm安装及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../阶段二笔记/pycharm使用.html">
            
                <a href="../阶段二笔记/pycharm使用.html">
            
                    
                    pycharm使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../阶段二笔记/pycharm激活问题.html">
            
                <a href="../阶段二笔记/pycharm激活问题.html">
            
                    
                    pycharm激活问题
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">电子书搭建</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="../阶段二笔记/gitbook安装.html">
            
                <a href="../阶段二笔记/gitbook安装.html">
            
                    
                    gitbook安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" >
            
                <span>
            
                    
                    git
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.2.1" data-path="../阶段二笔记/git简要.html">
            
                <a href="../阶段二笔记/git简要.html">
            
                    
                    git简要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.2" data-path="../阶段二笔记/git安装及使用.html">
            
                <a href="../阶段二笔记/git安装及使用.html">
            
                    
                    git安装及使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.3" data-path="../阶段二笔记/git分支管理.html">
            
                <a href="../阶段二笔记/git分支管理.html">
            
                    
                    git分支管理
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="../阶段二笔记/github使用.html">
            
                <a href="../阶段二笔记/github使用.html">
            
                    
                    github使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="../搭建/gitee远程仓库搭建.html">
            
                <a href="../搭建/gitee远程仓库搭建.html">
            
                    
                    gitee远程仓库搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" data-path="../搭建/客户端与服务端的搭建.html">
            
                <a href="../搭建/客户端与服务端的搭建.html">
            
                    
                    客户端与服务端的搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6" >
            
                <span>
            
                    
                    问题
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.6.1" data-path="../搭建/gitbook build没有summary.html">
            
                <a href="../搭建/gitbook build没有summary.html">
            
                    
                    gitbook build没有summary
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.2" data-path="../问题/typora结合picgo实现上传图片到gitee.html">
            
                <a href="../问题/typora结合picgo实现上传图片到gitee.html">
            
                    
                    typora结合picgo实现上传图片到gitee
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">软件工具</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../阶段二笔记/anaconda下载与使用.html">
            
                <a href="../阶段二笔记/anaconda下载与使用.html">
            
                    
                    anaconda下载与配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../阶段二笔记/anaconda的使用.html">
            
                <a href="../阶段二笔记/anaconda的使用.html">
            
                    
                    anaconda的使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="../阶段二笔记/python3.6.4下载与安装.html">
            
                <a href="../阶段二笔记/python3.6.4下载与安装.html">
            
                    
                    python3.6.4下载与安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="../阶段二笔记/typora安装及配置.html">
            
                <a href="../阶段二笔记/typora安装及配置.html">
            
                    
                    typora安装及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.5" data-path="../阶段二笔记/ubuntu  tool安装.html">
            
                <a href="../阶段二笔记/ubuntu  tool安装.html">
            
                    
                    ubuntu  tool安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6" data-path="../阶段二笔记/Jetbrains系列产品重置试用方法.html">
            
                <a href="../阶段二笔记/Jetbrains系列产品重置试用方法.html">
            
                    
                    Jetbrains系列产品重置试用方法
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">python学习</li>
        
        
    

    
        
        <li class="header">面对过程</li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="0.python学习.html">
            
                <a href="0.python学习.html">
            
                    
                    0.python学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="1.python简介.html">
            
                <a href="1.python简介.html">
            
                    
                    1.python简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.3" data-path="2.python程序no.1.html">
            
                <a href="2.python程序no.1.html">
            
                    
                    2.python程序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.4" data-path="3.多文件项目的演练.html">
            
                <a href="3.多文件项目的演练.html">
            
                    
                    3.多文件项目的演练
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.5" data-path="4.程序注释.html">
            
                <a href="4.程序注释.html">
            
                    
                    4.程序注释
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.6" data-path="5.算数运算符.html">
            
                <a href="5.算数运算符.html">
            
                    
                    5.算数运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="7.7" data-path="6.程序执行原理（科普）.html">
            
                <a href="6.程序执行原理（科普）.html">
            
                    
                    6.程序执行原理（科普）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.8" data-path="7.变量的基本使用.html">
            
                <a href="7.变量的基本使用.html">
            
                    
                    7.变量的基本使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.9" data-path="8.变量的命名.html">
            
                <a href="8.变量的命名.html">
            
                    
                    8.变量的命名
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.10" data-path="9.判断（if）语句.html">
            
                <a href="9.判断（if）语句.html">
            
                    
                    9.判断（if）语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.11" data-path="10.运算符.html">
            
                <a href="10.运算符.html">
            
                    
                    10.运算符.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.12" data-path="11.循环.html">
            
                <a href="11.循环.html">
            
                    
                    11.循环.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.13" data-path="12.函数基础.html">
            
                <a href="12.函数基础.html">
            
                    
                    12.函数基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.14" data-path="13.高级变量类型.html">
            
                <a href="13.高级变量类型.html">
            
                    
                    13.函数基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.15" data-path="14.综合应用 —— 名片管理系统.html">
            
                <a href="14.综合应用 —— 名片管理系统.html">
            
                    
                    14.综合应用 —— 名片管理系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.16" data-path="15.变量进阶（理解）.html">
            
                <a href="15.变量进阶（理解）.html">
            
                    
                    15.变量进阶（理解）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.17" data-path="16.函数进阶.html">
            
                <a href="16.函数进阶.html">
            
                    
                    16.函数进阶
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">面对对象</li>
        
        
    
        <li class="chapter " data-level="8.1" data-path="../课余/编程exe.html">
            
                <a href="../课余/编程exe.html">
            
                    
                    编程exe
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">问题</li>
        
        
    
        <li class="chapter " data-level="9.1" data-path="../问题/安装软件.html">
            
                <a href="../问题/安装软件.html">
            
                    
                    安装软件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.2" data-path="../问题/激活码网站.html">
            
                <a href="../问题/激活码网站.html">
            
                    
                    激活码网站
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.3" data-path="../问题/虚拟机.html">
            
                <a href="../问题/虚拟机.html">
            
                    
                    虚拟机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.4" data-path="../问题/疑难杂症.html">
            
                <a href="../问题/疑难杂症.html">
            
                    
                    疑难杂症
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >6.程序执行原理（科普）</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x539F;&#x7406;&#xFF08;&#x79D1;&#x666E;&#xFF09;">&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x539F;&#x7406;&#xFF08;&#x79D1;&#x666E;&#xFF09;</h1>
<h2 id="&#x76EE;&#x6807;">&#x76EE;&#x6807;</h2>
<ul>
<li>&#x8BA1;&#x7B97;&#x673A;&#x4E2D;&#x7684; <strong>&#x4E09;&#x5927;&#x4EF6;</strong></li>
<li>&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x7684;&#x539F;&#x7406;</li>
<li>&#x7A0B;&#x5E8F;&#x7684;&#x4F5C;&#x7528;</li>
</ul>
<h2 id="01-&#x8BA1;&#x7B97;&#x673A;&#x4E2D;&#x7684;&#x4E09;&#x5927;&#x4EF6;">01. &#x8BA1;&#x7B97;&#x673A;&#x4E2D;&#x7684;&#x4E09;&#x5927;&#x4EF6;</h2>
<p>&#x8BA1;&#x7B97;&#x673A;&#x4E2D;&#x5305;&#x542B;&#x6709;&#x8F83;&#x591A;&#x7684;&#x786C;&#x4EF6;&#xFF0C;&#x4F46;&#x662F;&#x4E00;&#x4E2A;&#x7A0B;&#x5E8F;&#x8981;&#x8FD0;&#x884C;&#xFF0C;&#x6709; <strong>&#x4E09;&#x4E2A;</strong> &#x6838;&#x5FC3;&#x7684;&#x786C;&#x4EF6;&#xFF0C;&#x5206;&#x522B;&#x662F;&#xFF1A;</p>
<ol>
<li><strong>CPU</strong> <ul>
<li>&#x4E2D;&#x592E;&#x5904;&#x7406;&#x5668;&#xFF0C;&#x662F;&#x4E00;&#x5757;&#x8D85;&#x5927;&#x89C4;&#x6A21;&#x7684;&#x96C6;&#x6210;&#x7535;&#x8DEF;</li>
<li>&#x8D1F;&#x8D23; <strong>&#x5904;&#x7406;&#x6570;&#x636E;</strong>&#xFF0F;<strong>&#x8BA1;&#x7B97;</strong></li>
</ul>
</li>
<li><strong>&#x5185;&#x5B58;</strong><ul>
<li><strong>&#x4E34;&#x65F6;</strong> &#x5B58;&#x50A8;&#x6570;&#x636E;&#xFF08;&#x65AD;&#x7535;&#x4E4B;&#x540E;&#xFF0C;&#x6570;&#x636E;&#x4F1A;&#x6D88;&#x5931;&#xFF09;</li>
<li>&#x901F;&#x5EA6;&#x5FEB;</li>
<li>&#x7A7A;&#x95F4;&#x5C0F;&#xFF08;&#x5355;&#x4F4D;&#x4EF7;&#x683C;&#x9AD8;&#xFF09;</li>
</ul>
</li>
<li><strong>&#x786C;&#x76D8;</strong> <ul>
<li><strong>&#x6C38;&#x4E45;</strong> &#x5B58;&#x50A8;&#x6570;&#x636E;</li>
<li>&#x901F;&#x5EA6;&#x6162;</li>
<li>&#x7A7A;&#x95F4;&#x5927;&#xFF08;&#x5355;&#x4F4D;&#x4EF7;&#x683C;&#x4F4E;&#xFF09;</li>
</ul>
</li>
</ol>
<table>
<thead>
<tr>
<th style="text-align:center">CPU</th>
<th style="text-align:center">&#x5185;&#x5B58;</th>
<th style="text-align:center">&#x786C;&#x76D8;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center"><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/CPU.jpg" alt="CPU-w200"></td>
<td style="text-align:center"><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/%E5%86%85%E5%AD%98%E6%9D%A1.png" alt="&#x5185;&#x5B58;&#x6761;-w200"></td>
<td style="text-align:center"><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/%E7%A1%AC%E7%9B%98.jpg" alt="&#x786C;&#x76D8;-w200"></td>
</tr>
</tbody>
</table>
<h3 id="&#x601D;&#x8003;&#x9898;">&#x601D;&#x8003;&#x9898;</h3>
<ol>
<li>&#x8BA1;&#x7B97;&#x673A;&#x4E2D;&#x54EA;&#x4E00;&#x4E2A;&#x786C;&#x4EF6;&#x8BBE;&#x5907;&#x8D1F;&#x8D23;&#x6267;&#x884C;&#x7A0B;&#x5E8F;&#xFF1F;<ul>
<li><strong>CPU</strong></li>
</ul>
</li>
<li><strong>&#x5185;&#x5B58;</strong> &#x7684;&#x901F;&#x5EA6;&#x5FEB;&#x8FD8;&#x662F; <strong>&#x786C;&#x76D8;</strong> &#x7684;&#x901F;&#x5EA6;&#x5FEB;&#xFF1F;<ul>
<li><strong>&#x5185;&#x5B58;</strong></li>
</ul>
</li>
<li>&#x6211;&#x4EEC;&#x7684;&#x7A0B;&#x5E8F;&#x662F;&#x5B89;&#x88C5;&#x5728;&#x5185;&#x5B58;&#x4E2D;&#x7684;&#xFF0C;&#x8FD8;&#x662F;&#x5B89;&#x88C5;&#x5728;&#x786C;&#x76D8;&#x4E2D;&#x7684;&#xFF1F;<ul>
<li>&#x786C;&#x76D8;</li>
</ul>
</li>
<li><strong>&#x6211;&#x4E70;&#x4E86;&#x4E00;&#x4E2A;&#x5185;&#x5B58;&#x6761;&#xFF0C;&#x6709; 500G &#x7684;&#x7A7A;&#x95F4;&#xFF01;&#xFF01;&#xFF01;</strong>&#xFF0C;&#x8FD9;&#x53E5;&#x8BDD;&#x5BF9;&#x5417;&#xFF1F;<ul>
<li>&#x4E0D;&#x5BF9;&#xFF0C;&#x5185;&#x5B58;&#x6761;&#x901A;&#x5E38;&#x53EA;&#x6709; <code>4G</code> / <code>8G</code> / <code>16G</code> / <code>32G</code></li>
</ul>
</li>
<li><strong>&#x8BA1;&#x7B97;&#x673A;&#x5173;&#x673A;&#x4E4B;&#x540E;&#xFF0C;&#x5185;&#x5B58;&#x4E2D;&#x7684;&#x6570;&#x636E;&#x90FD;&#x4F1A;&#x6D88;&#x5931;</strong>&#xFF0C;&#x8FD9;&#x53E5;&#x8BDD;&#x5BF9;&#x5417;&#xFF1F;<ul>
<li>&#x6B63;&#x786E; </li>
</ul>
</li>
</ol>
<h2 id="02-&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x7684;&#x539F;&#x7406;">02. &#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x7684;&#x539F;&#x7406;</h2>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/001_%E7%A8%8B%E5%BA%8F%E6%89%A7%E8%A1%8C%E7%A4%BA%E6%84%8F%E5%9B%BE.png" alt="001_&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x793A;&#x610F;&#x56FE;-w"></p>
<ol>
<li>&#x7A0B;&#x5E8F; <strong>&#x8FD0;&#x884C;&#x4E4B;&#x524D;</strong>&#xFF0C;&#x7A0B;&#x5E8F;&#x662F; <strong>&#x4FDD;&#x5B58;&#x5728;&#x786C;&#x76D8;</strong> &#x4E2D;&#x7684;</li>
<li>&#x5F53;&#x8981;&#x8FD0;&#x884C;&#x4E00;&#x4E2A;&#x7A0B;&#x5E8F;&#x65F6;<ul>
<li>&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4F1A;&#x9996;&#x5148;&#x8BA9; <strong>CPU</strong> &#x628A;&#x7A0B;&#x5E8F;&#x590D;&#x5236;&#x5230; <strong>&#x5185;&#x5B58;</strong> &#x4E2D;</li>
<li><strong>CPU</strong> &#x6267;&#x884C; <strong>&#x5185;&#x5B58;</strong> &#x4E2D;&#x7684; <strong>&#x7A0B;&#x5E8F;&#x4EE3;&#x7801;</strong></li>
</ul>
</li>
</ol>
<blockquote>
<p><strong>&#x7A0B;&#x5E8F;&#x8981;&#x6267;&#x884C;&#xFF0C;&#x9996;&#x5148;&#x8981;&#x88AB;&#x52A0;&#x8F7D;&#x5230;&#x5185;&#x5B58;</strong></p>
</blockquote>
<h3 id="21-python-&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x539F;&#x7406;">2.1 Python &#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x539F;&#x7406;</h3>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/003_Python%E7%A8%8B%E5%BA%8F%E6%89%A7%E8%A1%8C%E7%A4%BA%E6%84%8F%E5%9B%BE.png" alt="003_Python&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x793A;&#x610F;&#x56FE;"></p>
<ol>
<li>&#x64CD;&#x4F5C;&#x7CFB;&#x7EDF;&#x4F1A;&#x9996;&#x5148;&#x8BA9; <strong>CPU</strong> &#x628A; <strong>Python &#x89E3;&#x91CA;&#x5668;</strong> &#x7684;&#x7A0B;&#x5E8F;&#x590D;&#x5236;&#x5230; <strong>&#x5185;&#x5B58;</strong> &#x4E2D;</li>
<li><strong>Python &#x89E3;&#x91CA;&#x5668;</strong> &#x6839;&#x636E;&#x8BED;&#x6CD5;&#x89C4;&#x5219;&#xFF0C;<strong>&#x4ECE;&#x4E0A;&#x5411;&#x4E0B;</strong> &#x8BA9; <strong>CPU</strong> &#x7FFB;&#x8BD1; <strong>Python &#x7A0B;&#x5E8F;&#x4E2D;&#x7684;&#x4EE3;&#x7801;</strong></li>
<li><strong>CPU</strong> &#x8D1F;&#x8D23;&#x6267;&#x884C;&#x7FFB;&#x8BD1;&#x5B8C;&#x6210;&#x7684;&#x4EE3;&#x7801;</li>
</ol>
<h4 id="python-&#x7684;&#x89E3;&#x91CA;&#x5668;&#x6709;&#x591A;&#x5927;&#xFF1F;">Python &#x7684;&#x89E3;&#x91CA;&#x5668;&#x6709;&#x591A;&#x5927;&#xFF1F;</h4>
<ul>
<li>&#x6267;&#x884C;&#x4EE5;&#x4E0B;&#x7EC8;&#x7AEF;&#x547D;&#x4EE4;&#x53EF;&#x4EE5;&#x67E5;&#x770B; Python &#x89E3;&#x91CA;&#x5668;&#x7684;&#x5927;&#x5C0F;</li>
</ul>
<pre><code class="lang-bash"><span class="hljs-comment"># 1. &#x786E;&#x8BA4;&#x89E3;&#x91CA;&#x5668;&#x6240;&#x5728;&#x4F4D;&#x7F6E;</span>
$ <span class="hljs-built_in">which</span> python

<span class="hljs-comment"># 2. &#x67E5;&#x770B; python &#x6587;&#x4EF6;&#x5927;&#x5C0F;(&#x53EA;&#x662F;&#x4E00;&#x4E2A;&#x8F6F;&#x94FE;&#x63A5;)</span>
$ ls -lh /usr/bin/python

<span class="hljs-comment"># 3. &#x67E5;&#x770B;&#x5177;&#x4F53;&#x6587;&#x4EF6;&#x5927;&#x5C0F;</span>
$ ls -lh /usr/bin/python2.7
</code></pre>
<blockquote>
<p>&#x63D0;&#x793A;&#xFF1A;&#x5EFA;&#x7ACB; <strong>&#x8F6F;&#x94FE;&#x63A5;</strong> &#x7684;&#x76EE;&#x7684;&#xFF0C;&#x662F;&#x4E3A;&#x4E86;&#x65B9;&#x4FBF;&#x4F7F;&#x7528;&#x8005;&#x4E0D;&#x7528;&#x8BB0;&#x4F4F;&#x4F7F;&#x7528;&#x7684;&#x89E3;&#x91CA;&#x5668;&#x662F; <strong>&#x54EA;&#x4E00;&#x4E2A;&#x5177;&#x4F53;&#x7248;&#x672C;</strong></p>
</blockquote>
<h2 id="03-&#x7A0B;&#x5E8F;&#x7684;&#x4F5C;&#x7528;">03. &#x7A0B;&#x5E8F;&#x7684;&#x4F5C;&#x7528;</h2>
<blockquote>
<p>&#x7A0B;&#x5E8F;&#x5C31;&#x662F; <strong>&#x7528;&#x6765;&#x5904;&#x7406;&#x6570;&#x636E;</strong> &#x7684;&#xFF01;</p>
</blockquote>
<ul>
<li><strong>&#x65B0;&#x95FB;&#x8F6F;&#x4EF6;</strong> &#x63D0;&#x4F9B;&#x7684; <strong>&#x65B0;&#x95FB;&#x5185;&#x5BB9;&#x3001;&#x8BC4;&#x8BBA;&#x2026;&#x2026;</strong> &#x662F;&#x6570;&#x636E;</li>
<li><strong>&#x7535;&#x5546;&#x8F6F;&#x4EF6;</strong> &#x63D0;&#x4F9B;&#x7684; <strong>&#x5546;&#x54C1;&#x4FE1;&#x606F;&#x3001;&#x914D;&#x9001;&#x4FE1;&#x606F;&#x2026;&#x2026;</strong> &#x662F;&#x6570;&#x636E;</li>
<li><strong>&#x8FD0;&#x52A8;&#x7C7B;&#x8F6F;&#x4EF6;</strong> &#x63D0;&#x4F9B;&#x7684; <strong>&#x8FD0;&#x52A8;&#x6570;&#x636E;&#x2026;&#x2026;</strong> &#x662F;&#x6570;&#x636E;</li>
<li><strong>&#x5730;&#x56FE;&#x7C7B;&#x8F6F;&#x4EF6;</strong> &#x63D0;&#x4F9B;&#x7684; <strong>&#x5730;&#x56FE;&#x4FE1;&#x606F;&#x3001;&#x5B9A;&#x4F4D;&#x4FE1;&#x606F;&#x3001;&#x8F66;&#x8F86;&#x4FE1;&#x606F;&#x2026;&#x2026;</strong> &#x662F;&#x6570;&#x636E;</li>
<li><strong>&#x5373;&#x65F6;&#x901A;&#x8BAF;&#x8F6F;&#x4EF6;</strong> &#x63D0;&#x4F9B;&#x7684; <strong>&#x804A;&#x5929;&#x4FE1;&#x606F;&#x3001;&#x597D;&#x53CB;&#x4FE1;&#x606F;&#x2026;&#x2026;</strong> &#x662F;&#x6570;&#x636E;</li>
<li>&#x2026;&#x2026;</li>
</ul>
<h3 id="31-&#x601D;&#x8003;-qq-&#x7A0B;&#x5E8F;&#x7684;&#x542F;&#x52A8;&#x8FC7;&#x7A0B;">3.1 &#x601D;&#x8003; QQ &#x7A0B;&#x5E8F;&#x7684;&#x542F;&#x52A8;&#x8FC7;&#x7A0B;</h3>
<ol>
<li>QQ &#x5728;<strong>&#x8FD0;&#x884C;&#x4E4B;&#x524D;</strong>&#xFF0C;&#x662F;&#x4FDD;&#x5B58;&#x5728; <strong>&#x786C;&#x76D8;</strong> &#x4E2D;&#x7684;</li>
<li><strong>&#x8FD0;&#x884C;&#x4E4B;&#x540E;</strong>&#xFF0C;QQ &#x7A0B;&#x5E8F;&#x5C31;&#x4F1A;&#x88AB;&#x52A0;&#x8F7D;&#x5230; <strong>&#x5185;&#x5B58;</strong> &#x4E2D;&#x4E86;</li>
</ol>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/003_QQ%E7%99%BB%E9%99%86%E7%95%8C%E9%9D%A2.png" alt="003_QQ&#x767B;&#x9646;&#x754C;&#x9762;-w248"></p>
<h3 id="32-&#x601D;&#x8003;-qq-&#x7A0B;&#x5E8F;&#x7684;-&#x767B;&#x5F55;-&#x8FC7;&#x7A0B;">3.2 &#x601D;&#x8003; QQ &#x7A0B;&#x5E8F;&#x7684; <strong>&#x767B;&#x5F55;</strong> &#x8FC7;&#x7A0B;</h3>
<ol>
<li>&#x8BFB;&#x53D6;&#x7528;&#x6237;&#x8F93;&#x5165;&#x7684; <strong>QQ &#x53F7;&#x7801;</strong></li>
<li>&#x8BFB;&#x53D6;&#x7528;&#x6237;&#x8F93;&#x5165;&#x7684; <strong>QQ &#x5BC6;&#x7801;</strong></li>
<li>&#x5C06; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong> &#x53D1;&#x9001;&#x7ED9;&#x817E;&#x8BAF;&#x7684;&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x7B49;&#x5F85;&#x670D;&#x52A1;&#x5668;&#x786E;&#x8BA4;&#x7528;&#x6237;&#x4FE1;&#x606F;</li>
</ol>
<h4 id="&#x601D;&#x8003;-1">&#x601D;&#x8003; 1</h4>
<blockquote>
<p>&#x5728; QQ &#x8FD9;&#x4E2A;&#x7A0B;&#x5E8F;&#x5C06; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong> &#x53D1;&#x9001;&#x7ED9;&#x670D;&#x52A1;&#x5668;&#x4E4B;&#x524D;&#xFF0C;<strong>&#x662F;&#x5426;&#x9700;&#x8981;&#x5148;&#x5B58;&#x50A8;&#x4E00;&#x4E0B; QQ &#x53F7;&#x7801; &#x548C; &#x5BC6;&#x7801;?</strong></p>
</blockquote>
<p><strong>&#x7B54;&#x6848;</strong></p>
<p>&#x80AF;&#x5B9A;&#x9700;&#x8981;&#xFF01;&#x2014;&#x2014; &#x5426;&#x5219; QQ &#x8FD9;&#x4E2A;&#x7A0B;&#x5E8F;&#x5C31;&#x4E0D;&#x77E5;&#x9053;&#x628A;&#x4EC0;&#x4E48;&#x5185;&#x5BB9;&#x53D1;&#x9001;&#x7ED9;&#x670D;&#x52A1;&#x5668;&#x4E86;&#xFF01;</p>
<h4 id="&#x601D;&#x8003;-2">&#x601D;&#x8003; 2</h4>
<blockquote>
<p>QQ &#x8FD9;&#x4E2A;&#x7A0B;&#x5E8F;&#x628A; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong> &#x4FDD;&#x5B58;&#x5728;&#x54EA;&#x91CC;&#xFF1F;</p>
</blockquote>
<p><strong>&#x7B54;&#x6848;</strong></p>
<p>&#x4FDD;&#x5B58;&#x5728; <strong>&#x5185;&#x5B58;</strong> &#x4E2D;&#xFF0C;&#x56E0;&#x4E3A; QQ &#x7A0B;&#x5E8F;&#x81EA;&#x5DF1;&#x5C31;&#x5728;&#x5185;&#x5B58;&#x4E2D;</p>
<h4 id="&#x601D;&#x8003;-3">&#x601D;&#x8003; 3</h4>
<blockquote>
<p>QQ &#x8FD9;&#x4E2A;&#x7A0B;&#x5E8F;&#x662F;&#x600E;&#x4E48;&#x4FDD;&#x5B58;&#x7528;&#x6237;&#x7684; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong> &#x7684;&#xFF1F;</p>
</blockquote>
<p><strong>&#x7B54;&#x6848;</strong></p>
<ol>
<li>&#x5728;&#x5185;&#x5B58;&#x4E2D;&#x4E3A; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong> &#x5404;&#x81EA;&#x5206;&#x914D;&#x4E00;&#x5757;&#x7A7A;&#x95F4;<ul>
<li>&#x5728; QQ &#x7A0B;&#x5E8F;&#x7ED3;&#x675F;&#x4E4B;&#x524D;&#xFF0C;&#x8FD9;&#x4E24;&#x5757;&#x7A7A;&#x95F4;&#x662F;&#x7531; QQ &#x7A0B;&#x5E8F;&#x8D1F;&#x8D23;&#x7BA1;&#x7406;&#x7684;&#xFF0C;&#x5176;&#x4ED6;&#x4EFB;&#x4F55;&#x7A0B;&#x5E8F;&#x90FD;&#x4E0D;&#x5141;&#x8BB8;&#x4F7F;&#x7528;</li>
<li>&#x5728; QQ &#x81EA;&#x5DF1;&#x4F7F;&#x7528;&#x5B8C;&#x6210;&#x4E4B;&#x524D;&#xFF0C;&#x8FD9;&#x4E24;&#x5757;&#x7A7A;&#x95F4;&#x59CB;&#x7EC8;&#x90FD;&#x53EA;&#x8D1F;&#x8D23;&#x4FDD;&#x5B58; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong></li>
</ul>
</li>
<li>&#x4F7F;&#x7528;&#x4E00;&#x4E2A; <strong>&#x522B;&#x540D;</strong> &#x6807;&#x8BB0; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong> &#x5728;&#x5185;&#x5B58;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;</li>
</ol>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/004_QQ%E5%8F%B7%E7%A0%81%E5%92%8C%E5%AF%86%E7%A0%81%E5%86%85%E5%AD%98%E7%A4%BA%E6%84%8F%E5%9B%BE.png" alt="004_QQ&#x53F7;&#x7801;&#x548C;&#x5BC6;&#x7801;&#x5185;&#x5B58;&#x793A;&#x610F;&#x56FE;"></p>
<blockquote>
<ul>
<li>&#x5728;&#x7A0B;&#x5E8F;&#x5185;&#x90E8;&#xFF0C;&#x4E3A; <strong>QQ &#x53F7;&#x7801;</strong> &#x548C; <strong>QQ &#x5BC6;&#x7801;</strong> &#x5728;&#x5185;&#x5B58;&#x4E2D;&#x5206;&#x914D;&#x7684;&#x7A7A;&#x95F4;&#x5C31;&#x53EB;&#x505A; <strong>&#x53D8;&#x91CF;</strong></li>
<li><h1 id="&#x7A0B;&#x5E8F;&#x5C31;&#x662F;&#x7528;&#x6765;&#x5904;&#x7406;&#x6570;&#x636E;&#x7684;&#xFF0C;&#x800C;&#x53D8;&#x91CF;&#x5C31;&#x662F;&#x7528;&#x6765;&#x5B58;&#x50A8;&#x6570;&#x636E;&#x7684;"><strong>&#x7A0B;&#x5E8F;&#x5C31;&#x662F;&#x7528;&#x6765;&#x5904;&#x7406;&#x6570;&#x636E;&#x7684;&#xFF0C;&#x800C;&#x53D8;&#x91CF;&#x5C31;&#x662F;&#x7528;&#x6765;&#x5B58;&#x50A8;&#x6570;&#x636E;&#x7684;</strong></h1>
</li>
</ul>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="5.算数运算符.html" class="navigation navigation-prev " aria-label="Previous page: 5.算数运算符">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="7.变量的基本使用.html" class="navigation navigation-next " aria-label="Next page: 7.变量的基本使用">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"6.程序执行原理（科普）","level":"7.7","depth":1,"next":{"title":"7.变量的基本使用","level":"7.8","depth":1,"path":"python面对过程学习/7.变量的基本使用.md","ref":"./python面对过程学习/7.变量的基本使用.md","articles":[]},"previous":{"title":"5.算数运算符","level":"7.6","depth":1,"path":"python面对过程学习/5.算数运算符.md","ref":"./python面对过程学习/5.算数运算符.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"python面对过程学习/6.程序执行原理（科普）.md","mtime":"2022-01-10T16:19:03.044Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-03-24T13:44:59.630Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

